action

public abstract Optional<ExtensionAction> action(Browser browser)

Returns the extension action for the given browser or an empty Optional if the extension does not have an action.

Parameters

browser

the browser associated with the extension action

Throws

when this extension has been uninstalled